/*
 * @Author: Superficial
 * @Date: 2021-03-15 18:33:07
 * @LastEditTime: 2021-03-15 18:33:14
 * @Description: 
 */

export const firstUpperCase = (text) => {
  return text?.toLowerCase().replace(/( |^)[a-z]/g, L => L.toUpperCase())
}